import main from '@/view/main'

export default {
    path: '/classManage',
    component: main,
    meta: {
        title: '班级管理'
    },
    children: [
        {
            meta: {
                title: '班级管理'
            },
            path: '',
            name: 'classManageList',
            component: () => import('./class-list')
        },
        {
            meta: {
                title: '新建班级'
            },
            path: 'add',
            name: 'classManageAdd',
            component: () => import('./class-add')
        },
        {
            meta: {
                title: '修改班级'
            },
            path: 'edit/:id',
            name: 'classManageEdit',
            props: true,
            component: () => import('./class-edit')
        }
    ]
}
